package com.wgchao.amc.service;

import com.wgchao.amc.common.EvaluateInfo;
import com.wgchao.amc.common.EvaluateMethod;

public interface EvaluateService {
    /**
     * 用户数据检校
     * @param obj
     * @param evaluateMethod
     * @return
     */
    default public EvaluateInfo evaluate(Object obj, EvaluateMethod<Object> evaluateMethod){

        return evaluateMethod.evaluate(obj);
    }
}
